package com.hitqz.robot.api.business.model.vo.sysWarning;

import cn.hutool.core.util.StrUtil;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;

import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
import java.nio.charset.StandardCharsets;
import java.util.Date;

/**
 * @author xupkun
 * @date 2024/6/25
 */
@Schema(description = "告警信息")
public class SysWarningVo {

    @Schema(description = "主键id")
    private Long id;

    @Schema(description = "告警标题")
    private String title;

    @Schema(description = "告警内容")
    private String content;

    @Schema(description = "告警对象")
    private String warningObj;

    @Schema(description = "告警时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date warningTime;

    @Schema(description = "处理建议")
    private String suggest;

    @Schema(description = "机器人名称")
    private String robotName;

    @Schema(description = "0-未读取 1-已读取")
    private Integer status;

    @Schema(description = "图片相对路径,多条用逗号隔开")
    private String paths;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getWarningObj() {
        return warningObj;
    }

    public void setWarningObj(String warningObj) {
        this.warningObj = warningObj;
    }

    public Date getWarningTime() {
        return warningTime;
    }

    public void setWarningTime(Date warningTime) {
        this.warningTime = warningTime;
    }

    public String getSuggest() {
        return suggest;
    }

    public void setSuggest(String suggest) {
        this.suggest = suggest;
    }

    public String getRobotName() {
        return robotName;
    }

    public void setRobotName(String robotName) {
        this.robotName = robotName;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }


}
